package com.catena.core;

import com.catena.core.chain.NodeRoot;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by hx-pc on 16-4-5.
 */
public class CatenaControllerBase {

    public static CatenaContext catenaContext = new CatenaContextImpl();

    public  NodeRoot getOperation(String key) {
        return catenaContext.getNodeOperationRepository().get(key);
    }
}
